{loop $TYPE $type}
<li><a href="{$keyurl}type.php?typeid={$type[typeid]}" style="{$type[style]}">{$type[name]}</a></li>
{/loop}